using System;
using System.Collections.Generic;
using System.Text;

namespace Coriander.Google.Charting
{
    /// <summary>
    /// 
    /// </summary>
    public class ChartGridLines
    {
        Double xAxisStepSize = 10;
        Double blankSegmentLength = 1;
        Double yAxisStepSize = 10;
        Double lineSegmentLength = 5;

        /// <summary>
        /// 
        /// </summary>
        public Double XAxisStepSize
        {
            get { return xAxisStepSize; }
            set { xAxisStepSize = value; }
        }

        /// <summary>
        /// 
        /// </summary>
        public Double YAxisStepSize
        {
            get { return yAxisStepSize; }
            set { yAxisStepSize = value; }
        }

        /// <summary>
        /// 
        /// </summary>
        public Double LineSegmentLength
        {
            get { return lineSegmentLength; }
            set { lineSegmentLength = value; }
        }

        /// <summary>
        /// 
        /// </summary>
        public Double BlankSegmentLength
        {
            get { return blankSegmentLength; }
            set { blankSegmentLength = value; }
        }

        public ChartGridLines(
            Double xAxisStepSize,
            Double yAxisStepSize,
            Double lineSegmentLength,
            Double blankSegmentLength)
        {
            this.xAxisStepSize = xAxisStepSize;
            this.yAxisStepSize = yAxisStepSize;
            this.lineSegmentLength = lineSegmentLength;
            this.blankSegmentLength = blankSegmentLength;
        }
    }
}
